//package com.gk.study.service;
//
//
//import com.gk.study.entity.Comment;
//import org.apache.ibatis.annotations.Param;
//
//import java.util.List;
//
//public interface CommentService {
//    List<Comment> getCommentList();
//    void createComment(Comment comment);
//    void deleteComment(String id);
//    void updateComment(Comment comment);
//    Comment getCommentDetail(String id);
//
//    List<Comment> getThingCommentList(String homeId,String order);
//
//    List<Comment> getUserCommentList(String userId);
//}
package com.gk.study.service;


import com.gk.study.entity.Comment;

import java.util.List;

public interface CommentService {
    List<Comment> getCommentList();
    void createComment(Comment comment);
    void deleteComment(String id);
    void updateComment(Comment comment);
    Comment getCommentDetail(String id);

    List<Comment> getThingCommentList(String thingId, String order);

    List<Comment> getUserCommentList(String userId);
}
